home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / System / DEF / Convert / Tonalities / tonality-to-semitone next >
Text File  |  1998-10-23  |  510b  |  15 lines

  1. tonality-to-semitone notes-in-tonality &optional start-value
  2.  
  3. Returns a vector of semitone relations in notes-in-tonality list starting from start-value. If the start-value is not supplied then 0 is used.
  4.  
  5. (tonality-to-semitone (activate-tonality (blues2 c 4)) 1)
  6. --> #(1 4 5 6 7 8 10 11)
  7.  
  8. In the following blues1 scale is used to construct a waveform using gen-fourier. 
  9.  
  10. (gen-fourier 
  11.    (tonality-to-semitone (activate-tonality (blues1 c 4)) 1)
  12.    '(10 9 8 7 6 5)
  13.    '(0 0 0 0 0 0) ; initial phases
  14.    256)
  15.